# $Id: PKGBUILD 67966 2012-03-16 12:59:54Z giovanni $
# Maintainer: Jaroslav Lichtblau <dragonlord@aur.archlinux.org>
# Contributor: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: Tino Reichardt <milky-archlinux@mcmilk.de>
# Contributor: Daniel J Griffiths <ghost1227@archlinux.us>

pkgname=mcdp
pkgver=0.4b
pkgrel=2
pkgdesc="Small console cd player"
arch=('i686' 'x86_64')
url="http://www.mcmilk.de/projects/mcdp/"
license=('GPL')
depends=('glibc')
makedepends=('dietlibc')
source=(http://www.mcmilk.de/projects/$pkgname/dl/${pkgname}-${pkgver}.tar.bz2)
sha256sums=('0faa031b07299b0fb2353306a669328c877717e1bc7e274e40c3d2612e103cab')

build() {
  cd ${srcdir}/${pkgname}-${pkgver}
  make $pkgname
}

package() {
  cd ${srcdir}/${pkgname}-${pkgver}

  install -Dm755 $pkgname ${pkgdir}/usr/bin/$pkgname
  install -Dm644 $pkgname.1 ${pkgdir}/usr/share/man/man1/$pkgname.1
}
